<template>
  <div class="oil_order">
    <div class="title_wrapper">
      <Icon type="md-apps" color="blue" />
      <div class="title">加油订单</div>
    </div>
    <div class="content_wrapper">
      <div @click="onOilOrderClick">
        <Icon type="md-list" />
        <div class="text">全部</div>
      </div>
      <div>
        <Icon type="md-card" />
        <div class="text">已支付</div>
      </div>
      <div>
        <Icon type="md-print" />
        <div class="text">开发票</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    onOilOrderClick() {
      this.$router.push("/order");
    }
  }
};
</script>

<style lang="stylus" scoped>
.oil_order {
  // margin: 8px 15px;
  background: #f8f8f9;
  box-shadow: 0 3px 8px rgba(192, 192, 192, 0.5);
  padding: 15px;

  .title_wrapper {
    display: flex;
    align-items: center;

    .title {
      margin-left: 3px;
      font-size: 18px;
    }
  }

  .content_wrapper {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 8px;

    .text {
      font-size: 16px;
      color: #808695;
    }
  }
}
</style>
